<div id ="featured-cat">
	<h2>FEATURED</h2>
	<!-- wc featured category 1 -->
	<?php $my_query = new WP_Query('cat='. $wc_feat_cat_1.'&showposts=1'); ?>
	<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>	
	<div class="box margin-right">
		<h4 class="cat-title"><a href="<?php echo get_category_link($wc_feat_cat_1); ?>"><?php echo get_cat_name($wc_feat_cat_1);?></a></h4>
		<div class="thumb">
		<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
				<?php the_post_thumbnail('featured-cats');   ?>
				<span class="date"><?php the_time('F jS, Y') ?></span>
				<div class="view">Article by <span class="author"><?php the_author(); ?></span> </div>
		</a>
		</div>
		<div class="details">
			<h4><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h4>
			<p> <?php $content = get_the_content(); $content = strip_tags($content); echo substr($content, 0, 100). '...';	?></p>			
		</div>
	</div>
	<?php endwhile; ?>
	
	<!-- wc featured category 2 -->
	<?php $my_query = new WP_Query('cat='. $wc_feat_cat_2.'&showposts=1'); ?>
	<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>	
	<div class="box margin-right"> 
		<h4 class="cat-title"><a href="<?php echo get_category_link($wc_feat_cat_2); ?>"><?php echo get_cat_name($wc_feat_cat_2);?></a></h4>
		<div class="thumb">
		<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
				<div class="view">Article by <span class="author"><?php the_author(); ?></span> </div>
				<?php the_post_thumbnail('featured-cats');   ?>
				<span class="date"><?php the_time('F jS, Y') ?></span>
		</a>
		</div>
		<div class="details">
			<h4><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h4>
			<p> <?php $content = get_the_content(); $content = strip_tags($content); echo substr($content, 0, 100). '...';	?></p>			
		</div>
	</div>
	<?php endwhile; ?>
	
	<!-- wc featured category 3 -->
	<?php $my_query = new WP_Query('cat='. $wc_feat_cat_3.'&showposts=1'); ?>
	<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>	
	<div class="box">
		<h4 class="cat-title"><a href="<?php echo get_category_link($wc_feat_cat_3); ?>"><?php echo get_cat_name($wc_feat_cat_3);?></a></h4>
		<div class="thumb">
		<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
				<div class="view">Article by <span class="author"><?php the_author(); ?></span> </div>
				<?php the_post_thumbnail('featured-cats');   ?>
				<span class="date"><?php the_time('F jS, Y') ?></span>
		</a>
		</div>
		<div class="details">
			<h4><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h4>
			<p> <?php $content = get_the_content(); $content = strip_tags($content); echo substr($content, 0, 100). '...';	?></p>		
		</div>
	</div>
	<?php endwhile; ?>


</div>